package net.aiion.weave.impl.cards.events;

import net.aiion.weave.spi.cards.events.CardEvent;
import net.aiion.weave.spi.xml.events.AttributeXmlEvent;
import net.aiion.weave.spi.xml.events.CharactersXmlEvent;
import net.aiion.weave.spi.xml.events.CommentXmlEvent;
import net.aiion.weave.spi.xml.events.DocumentEndXmlEvent;
import net.aiion.weave.spi.xml.events.DocumentStartXmlEvent;
import net.aiion.weave.spi.xml.events.DocumentTypeDefinitionXmlEvent;
import net.aiion.weave.spi.xml.events.ElementEndXmlEvent;
import net.aiion.weave.spi.xml.events.ElementStartXmlEvent;
import net.aiion.weave.spi.xml.events.NamespaceXmlEvent;
import net.aiion.weave.spi.xml.events.ProcessingInstructionXmlEvent;
import net.aiion.weave.spi.xml.events.SourceXmlEvent;

public abstract class AbstractCardEvent implements CardEvent
{
    public AbstractCardEvent() {
    }

    @Override
    public SourceXmlEvent asSource() {
        throw new ClassCastException();
    }

    @Override
    public DocumentStartXmlEvent asDocumentStart() {
        throw new ClassCastException();
    }

    @Override
    public DocumentTypeDefinitionXmlEvent asDocumentTypeDefinition() {
        throw new ClassCastException();
    }

    @Override
    public ProcessingInstructionXmlEvent asProcessingInstruction() {
        throw new ClassCastException();
    }

    @Override
    public ElementStartXmlEvent asElementStart() {
        throw new ClassCastException();
    }

    @Override
    public AttributeXmlEvent asAttribute() {
        throw new ClassCastException();
    }

    @Override
    public NamespaceXmlEvent asNamespace() {
        throw new ClassCastException();
    }

    @Override
    public CharactersXmlEvent asCharacters() {
        throw new ClassCastException();
    }

    @Override
    public CommentXmlEvent asComment() {
        throw new ClassCastException();
    }

    @Override
    public ElementEndXmlEvent asElementEnd() {
        throw new ClassCastException();
    }

    @Override
    public DocumentEndXmlEvent asDocumentEnd() {
        throw new ClassCastException();
    }
}
